<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!-- 当当前用户是admin时 -->	
<c:if test="${user.USER_RIGHT>1}">
	欢迎使用本系统！
</c:if>
<!-- 当当前用户不是admin时 -->
<c:if test="${user.USER_RIGHT==1}">
	<c:if test="${countWorks.AZSB_WCLSL > 0 and countWorks.JCZL_KJWCLSL > 0 and countWorks.JCZL_QYWCLSL > 0}">
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork">当前有<span style="color:red;font-size: 18px;">${countWorks.AZSB_WCLSL }</span>个安证申请</a>
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">、<span style="color:red;font-size: 18px;">${countWorks.JCZL_KJWCLSL }</span>个矿井资料和<span style="color:red;font-size: 18px;">${countWorks.JCZL_QYWCLSL }</span>个企业资料需要您办理！</a>
	</c:if>
	<c:if test="${countWorks.AZSB_WCLSL > 0 and countWorks.JCZL_KJWCLSL > 0 and countWorks.JCZL_QYWCLSL == 0}">
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork">当前有<span style="color:red;font-size: 18px;">${countWorks.AZSB_WCLSL }</span>个安证申请</a>
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">、<span style="color:red;font-size: 18px;">${countWorks.JCZL_KJWCLSL }</span>个矿井资料需要您办理！</a>
	</c:if>
	<c:if test="${countWorks.AZSB_WCLSL > 0 and countWorks.JCZL_KJWCLSL == 0 and countWorks.JCZL_QYWCLSL > 0}">
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork">当前有<span style="color:red;font-size: 18px;">${countWorks.AZSB_WCLSL }</span>个安证申请</a>
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">、<span style="color:red;font-size: 18px;">${countWorks.JCZL_QYWCLSL }</span>个企业资料需要您办理！</a>
	</c:if>
	<c:if test="${countWorks.AZSB_WCLSL > 0 and countWorks.JCZL_KJWCLSL == 0 and countWorks.JCZL_QYWCLSL == 0}">
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork">当前有<span style="color:red;font-size: 18px;">${countWorks.AZSB_WCLSL }</span>个安证申请需要您办理！</a>
	</c:if>
	<c:if test="${countWorks.AZSB_WCLSL == 0 and countWorks.JCZL_KJWCLSL > 0 and countWorks.JCZL_QYWCLSL > 0}">
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">当前有<span style="color:red;font-size: 18px;">${countWorks.JCZL_KJWCLSL }</span>个矿井资料和<span style="color:red;font-size: 18px;">${countWorks.JCZL_QYWCLSL }</span>个企业资料需要您办理！</a>
	</c:if>
	<c:if test="${countWorks.AZSB_WCLSL == 0 and countWorks.JCZL_KJWCLSL > 0 and countWorks.JCZL_QYWCLSL == 0}">
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">当前有<span style="color:red;font-size: 18px;">${countWorks.JCZL_KJWCLSL }</span>个矿井资料需要您办理！</a>
	</c:if>
	<c:if test="${countWorks.AZSB_WCLSL == 0 and countWorks.JCZL_KJWCLSL == 0 and countWorks.JCZL_QYWCLSL > 0}">
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">当前有<span style="color:red;font-size: 18px;">${countWorks.JCZL_QYWCLSL }</span>个企业资料需要您办理！</a>
	</c:if>
	<c:if test="${countWorks.JCZL_KJZLWQX == 0 and countWorks.JCZL_QYZLWQX == 0}">
		<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">您的企业资料和矿井资料还没有完善！</a>
	</c:if>
	<c:if test="${countWorks.JCZL_KJZLWQX == 0 and countWorks.JCZL_QYZLWQX == 1}">
		<c:if test="${countWorks.JCZL_QYZLWSB == 1}">
			<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">您的矿井资料还没有完善！</a>
		</c:if>
		<c:if test="${countWorks.JCZL_QYZLWSB == 0}">
			<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">您的矿井资料还没有完善！企业资料还没有上报！</a>
		</c:if>
	</c:if>
	<c:if test="${countWorks.JCZL_KJZLWQX == 1 and countWorks.JCZL_QYZLWQX == 0}">
		<c:if test="${countWorks.JCZL_KJZLWSB == 1}">
			<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">您的企业资料还没有完善！</a>
		</c:if>
		<c:if test="${countWorks.JCZL_KJZLWSB == 0}">
			<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">您的企业资料还没有完善！矿井资料还没有上报！</a>
		</c:if>
	</c:if>
	<c:if test="${countWorks.JCZL_KJZLWQX == 1 and countWorks.JCZL_QYZLWQX == 1}">
		<c:if test="${countWorks.JCZL_KJZLWSB == 0 and countWorks.JCZL_QYZLWSB == 0}">
			<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">您的企业资料和矿井资料还没有上报！</a>
		</c:if>
		<c:if test="${countWorks.JCZL_KJZLWSB == 0 and countWorks.JCZL_QYZLWSB == 1}">
			<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">您的矿井资料还没有上报！</a>
		</c:if>
		<c:if test="${countWorks.JCZL_KJZLWSB == 1 and countWorks.JCZL_QYZLWSB == 0}">
			<a href="javascript:void(0);" class="tip" style="font-size: 18px;" id="navWork1">您的企业资料还没有上报！</a>
		</c:if>
	</c:if>
	<c:if test="${countWorks.AZSB_WCLSL == 0 and countWorks.JCZL_KJWCLSL == 0 and countWorks.JCZL_QYWCLSL == 0 and countWorks.JCZL_KJZLWQX == 1 and countWorks.JCZL_QYZLWQX == 1 and countWorks.JCZL_KJZLWSB == 1 and countWorks.JCZL_QYZLWSB == 1}">
		欢迎使用本系统！
	</c:if>
</c:if>
